package com.csist.service.impl;

import com.csist.pojo.Wtzx;
import com.csist.mapper.WtzxMapper;
import com.csist.pojo.Wtzx_v;
import com.csist.service.IWtzxService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 问题咨询 服务实现类
 * </p>
 *
 * @author wy
 * @since 2021-12-01
 */
@Service
public class WtzxServiceImpl extends ServiceImpl<WtzxMapper, Wtzx> implements IWtzxService {

    @Autowired
    private WtzxMapper mapper;


    @Override
    public List<Wtzx_v> getWTed(int pageIndex, int pageSize) {
        return mapper.getWTed(pageIndex,pageSize);
    }

    @Override
    public List<Wtzx_v> getWTun(int pageIndex, int pageSize) {
        return mapper.getWTun(pageIndex,pageSize);
    }

    @Override
    public int getPageByState(int state) {
        return mapper.getPageByState(state);
    }
}
